﻿using System.Collections.Generic;
using System;
using WorkFlowCore.WorkTasks;

namespace WorkFlowCore.Host.ViewModels.WorkFlowCore
{
    public class ForecastNodeUserOutput
    {
        public Guid NodeId { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; }

        public List<ForecastUserDto> Users { get; set; }
        public List<ForecastUserDto> HandleUsers { get; set; }
        public List<ForecastUserDto> ReadOnlyUsers { get; set; }
        public int Level { get; set; }
        public WorkStepHandleType? HandleType { get; set; }
    }

    public class ForecastUserDto
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public WorkStepHandleType? HandleType { get; set; }
        /// <summary>
        /// 阶段类型
        /// </summary>
        public WorkStepType WorkStepType { get; set; }
    }
}
